package viz.controller.prep
{
	import org.puremvc.as3.multicore.interfaces.INotification;
	import org.puremvc.as3.multicore.patterns.command.SimpleCommand;
	
	import viz.VizConstants;
	import viz.controller.core.AddStateCmd;
	import viz.controller.core.CheckForDirtCmd;
	import viz.controller.core.DecodeIncomingDataCmd;
	import viz.controller.core.DefaultAllEdgesCmd;
	import viz.controller.core.DefaultAllNodeEdgesCmd;
	import viz.controller.core.EncodeData2JSONCmd;
	import viz.controller.core.PopulateCombosCmd;
	import viz.controller.core.RemoveStateCmd;
	import viz.controller.core.SetActionEdgePropsCmd;
	import viz.controller.core.SetIncomingEdgePropsCmd;
	import viz.controller.core.SetOutgoingEdgePropsCmd;
	import viz.controller.core.UpdateStateDateCmd;

	public class RegisterCoreCmd extends SimpleCommand
	{
		override public function execute(note:INotification):void{
			facade.registerCommand(VizConstants.ADD_STATE, AddStateCmd);
			facade.registerCommand(VizConstants.REMOVE_STATE, RemoveStateCmd);
			facade.registerCommand(VizConstants.CHECK_FOR_DIRT, CheckForDirtCmd);
			facade.registerCommand(VizConstants.INCOMING_DATA, DecodeIncomingDataCmd);
			facade.registerCommand(VizConstants.ENCODE_DATA_2_JSON, EncodeData2JSONCmd);
			facade.registerCommand(VizConstants.HILIGHT_OUTGOING_EDGES, SetOutgoingEdgePropsCmd);
			facade.registerCommand(VizConstants.HILIGHT_INCOMING_EDGES, SetIncomingEdgePropsCmd);
			facade.registerCommand(VizConstants.DEFAULT_ALL_NODE_EDGES, DefaultAllNodeEdgesCmd);
			facade.registerCommand(VizConstants.DEFAULT_ALL_EDGES, DefaultAllEdgesCmd);
			facade.registerCommand(VizConstants.POPULATE_COMBOS, PopulateCombosCmd);
			facade.registerCommand(VizConstants.UPDATE_STATE_DATA_PROXY, UpdateStateDateCmd);
			facade.registerCommand(VizConstants.HILIGHT_ACTION, SetActionEdgePropsCmd);
		}
		
	}
}